<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Lesson Project: C:/Users/ttl/Documents/Lesson/Lesson_Project/T4056_Eternal_Watch/03_Firmware/Temp/User/Driver/KEY/Src/key_driver.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">Lesson Project<span id="projectnumber">&#160;Beta V1.1</span>
   </div>
   <div id="projectbrief">Course Learning Template Engineering</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_6d4e12d46ad8519ff7b80e874016d102.html">User</a></li><li class="navelem"><a class="el" href="dir_81f18e0c07fff3e9102b10505e4dbf14.html">Driver</a></li><li class="navelem"><a class="el" href="dir_39b4895addedc8e7310416319f71f4e9.html">KEY</a></li><li class="navelem"><a class="el" href="dir_1315ba3fd6d76f6437e9e1034318dd7b.html">Src</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle"><div class="title">key_driver.c File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="key__driver_8h_source.html">key_driver.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for key_driver.c:</div>
<div class="dyncontent">
<div class="center"><img src="key__driver_8c__incl.png" border="0" usemap="#a_c_1_2_users_2ttl_2_documents_2_lesson_2_lesson___project_2_t4056___eternal___watch_203___firmware_2_temp_2_user_2_driver_2_k_e_y_2_src_2key__driver_8c" alt=""/></div>
</div>
</div>
<p><a href="key__driver_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a17906da8446cb27d67dd9d4f0b42826d" id="r_a17906da8446cb27d67dd9d4f0b42826d"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a17906da8446cb27d67dd9d4f0b42826d">key_init</a> (void)</td></tr>
<tr class="separator:a17906da8446cb27d67dd9d4f0b42826d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f12cfccd0746cb5d5961dc9556a3dd0" id="r_a4f12cfccd0746cb5d5961dc9556a3dd0"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a4f12cfccd0746cb5d5961dc9556a3dd0">key_task</a> (void)</td></tr>
<tr class="separator:a4f12cfccd0746cb5d5961dc9556a3dd0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9b55c8fe900842c9bf08f4ec8820525" id="r_af9b55c8fe900842c9bf08f4ec8820525"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#af9b55c8fe900842c9bf08f4ec8820525">key_get_result</a> (<a class="el" href="key__driver_8h.html#a640147b8dce97b1a49d8c6de0cdfe8d9">key_result_e</a> *key_result)</td></tr>
<tr class="separator:af9b55c8fe900842c9bf08f4ec8820525"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="var-members" name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a7a60855ebf18b91bc94321ec79ab1de6" id="r_a7a60855ebf18b91bc94321ec79ab1de6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structkey__driver__t.html">key_driver_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a7a60855ebf18b91bc94321ec79ab1de6">key_driver</a> [<a class="el" href="key__driver_8h.html#ab6420af507afd2c6a57f725ad69d11cbae7c96674990975ac5a27143a3eb4be42">KEY_MAX_TYPE</a>]</td></tr>
<tr class="separator:a7a60855ebf18b91bc94321ec79ab1de6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1ed7a538d655ebf902f732c4c064246" id="r_ae1ed7a538d655ebf902f732c4c064246"><td class="memItemLeft" align="right" valign="top">static QueueHandle_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ae1ed7a538d655ebf902f732c4c064246">key_driver_event_queue</a> = NULL</td></tr>
<tr class="separator:ae1ed7a538d655ebf902f732c4c064246"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa38c85bdc6d45115e37716fb056cd79a" id="r_aa38c85bdc6d45115e37716fb056cd79a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structkey__driver__ops__t.html">key_driver_ops_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aa38c85bdc6d45115e37716fb056cd79a">key_driver_ops</a></td></tr>
<tr class="separator:aa38c85bdc6d45115e37716fb056cd79a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="af9b55c8fe900842c9bf08f4ec8820525" name="af9b55c8fe900842c9bf08f4ec8820525"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af9b55c8fe900842c9bf08f4ec8820525">&#9670;&#160;</a></span>key_get_result()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int key_get_result </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="key__driver_8h.html#a640147b8dce97b1a49d8c6de0cdfe8d9">key_result_e</a> *</td>          <td class="paramname"><span class="paramname"><em>key_result</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="key__driver_8c_source.html#l00094">94</a> of file <a class="el" href="key__driver_8c_source.html">key_driver.c</a>.</p>

</div>
</div>
<a id="a17906da8446cb27d67dd9d4f0b42826d" name="a17906da8446cb27d67dd9d4f0b42826d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a17906da8446cb27d67dd9d4f0b42826d">&#9670;&#160;</a></span>key_init()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void key_init </td>
          <td>(</td>
          <td class="paramtype">void</td>          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="key__driver_8c_source.html#l00017">17</a> of file <a class="el" href="key__driver_8c_source.html">key_driver.c</a>.</p>

</div>
</div>
<a id="a4f12cfccd0746cb5d5961dc9556a3dd0" name="a4f12cfccd0746cb5d5961dc9556a3dd0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f12cfccd0746cb5d5961dc9556a3dd0">&#9670;&#160;</a></span>key_task()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void key_task </td>
          <td>(</td>
          <td class="paramtype">void</td>          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="key__driver_8c_source.html#l00022">22</a> of file <a class="el" href="key__driver_8c_source.html">key_driver.c</a>.</p>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a id="a7a60855ebf18b91bc94321ec79ab1de6" name="a7a60855ebf18b91bc94321ec79ab1de6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a60855ebf18b91bc94321ec79ab1de6">&#9670;&#160;</a></span>key_driver</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structkey__driver__t.html">key_driver_t</a> key_driver[<a class="el" href="key__driver_8h.html#ab6420af507afd2c6a57f725ad69d11cbae7c96674990975ac5a27143a3eb4be42">KEY_MAX_TYPE</a>]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="key__driver_8c_source.html#l00007">7</a> of file <a class="el" href="key__driver_8c_source.html">key_driver.c</a>.</p>

</div>
</div>
<a id="ae1ed7a538d655ebf902f732c4c064246" name="ae1ed7a538d655ebf902f732c4c064246"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae1ed7a538d655ebf902f732c4c064246">&#9670;&#160;</a></span>key_driver_event_queue</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QueueHandle_t key_driver_event_queue = NULL</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="key__driver_8c_source.html#l00009">9</a> of file <a class="el" href="key__driver_8c_source.html">key_driver.c</a>.</p>

</div>
</div>
<a id="aa38c85bdc6d45115e37716fb056cd79a" name="aa38c85bdc6d45115e37716fb056cd79a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa38c85bdc6d45115e37716fb056cd79a">&#9670;&#160;</a></span>key_driver_ops</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structkey__driver__ops__t.html">key_driver_ops_t</a> key_driver_ops</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">= {</div>
<div class="line">    .pfinit = <a class="code hl_function" href="#a17906da8446cb27d67dd9d4f0b42826d">key_init</a>,</div>
<div class="line">    .pftask = <a class="code hl_function" href="#a4f12cfccd0746cb5d5961dc9556a3dd0">key_task</a>,</div>
<div class="line">    .pfget_result = <a class="code hl_function" href="#af9b55c8fe900842c9bf08f4ec8820525">key_get_result</a>,</div>
<div class="line">}</div>
<div class="ttc" id="akey__driver_8c_html_a17906da8446cb27d67dd9d4f0b42826d"><div class="ttname"><a href="#a17906da8446cb27d67dd9d4f0b42826d">key_init</a></div><div class="ttdeci">static void key_init(void)</div><div class="ttdef"><b>Definition</b> <a href="key__driver_8c_source.html#l00017">key_driver.c:17</a></div></div>
<div class="ttc" id="akey__driver_8c_html_a4f12cfccd0746cb5d5961dc9556a3dd0"><div class="ttname"><a href="#a4f12cfccd0746cb5d5961dc9556a3dd0">key_task</a></div><div class="ttdeci">static void key_task(void)</div><div class="ttdef"><b>Definition</b> <a href="key__driver_8c_source.html#l00022">key_driver.c:22</a></div></div>
<div class="ttc" id="akey__driver_8c_html_af9b55c8fe900842c9bf08f4ec8820525"><div class="ttname"><a href="#af9b55c8fe900842c9bf08f4ec8820525">key_get_result</a></div><div class="ttdeci">static int key_get_result(key_result_e *key_result)</div><div class="ttdef"><b>Definition</b> <a href="key__driver_8c_source.html#l00094">key_driver.c:94</a></div></div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="key__driver_8c_source.html#l00011">11</a> of file <a class="el" href="key__driver_8c_source.html">key_driver.c</a>.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
